﻿<%@ Page Language="c#" CodeBehind="ModifyInfo.aspx.cs" AutoEventWireup="false" Inherits="UDS.SubModule.StaffPages.ModifyInfoPage" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
<head>
  <title>ModifyInfo</title>
  <uds:Style runat="server" Href="~/css/BasicLayout.css" />
  <script language="JavaScript" src="../../Css/meizzDate.js"></script>
  <style>
    .td { font-size: 14px; color: #0000ff; }
  </style>
</head>
<body>
  <form id="NewStaff" method="post" runat="server">
    <div style="color: #00f; text-align: center;">
      <br>
      <strong><font size="5">员工注册</font></strong>
    </div>
    <hr width="100%" size="1">
    <div style="color: #f00; text-align: center;">
      <asp:Literal ID="message" runat="server" EnableViewState="False" />&nbsp;
    </div>
    <div style="text-align: center;">
      <table id="AutoNumber1" style="border-collapse: collapse" bordercolor="#eeeeee" cellspacing="2" cellpadding="0" width="100%" border="0">
        <tr>
          <td align="right" width="25%">用户姓名:</td>
          <td width="80%">
            <asp:TextBox ID="txtStaffName" CssClass="InputCss" runat="server" Columns="70" Width="382"></asp:TextBox><asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="请输入姓名" ControlToValidate="txtStaffName" Font-Size="X-Small"></asp:RequiredFieldValidator></td>
        </tr>
        <tr>
          <td align="right" width="20%">真实姓名:</td>
          <td width="80%">
            <asp:TextBox ID="txtRealName" CssClass="InputCss" runat="server" Columns="70" Width="382"></asp:TextBox><asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="请输入真实姓名" ControlToValidate="txtRealName" Font-Size="X-Small"></asp:RequiredFieldValidator></td>
        </tr>
        <tr>
          <td align="right" width="20%">性&nbsp;&nbsp;&nbsp; 别:</td>
          <td width="80%"><asp:RadioButton ID="rb_male" runat="server" GroupName="rSex" Checked="True" Text="男"></asp:RadioButton><asp:RadioButton ID="rb_female" runat="server" GroupName="rSex" Checked="False" Text="女"></asp:RadioButton></td>
        </tr>
        <tr>
          <td align="right" width="20%">出生日期:</td>
          <td width="80%">
            <asp:TextBox ID="txtBirthday" onfocus="setday(this)" CssClass="InputCss" runat="server" Columns="70" Width="382" ReadOnly="True"></asp:TextBox><asp:RegularExpressionValidator ID="datecheck" runat="server" ErrorMessage="日期输入错误" ControlToValidate="txtBirthday" ValidationExpression="\d{4}-((0[1-9])|(1[0-2]))-((0[1-9])|([1-2][0-9])|3[0-1])"></asp:RegularExpressionValidator></td>
        </tr>
        <tr>
          <td align="right" width="20%">密&nbsp;&nbsp;&nbsp; 码:</td>
          <td width="80%"><input class="InputCss" id="txtPassword" style="width: 382px" type="password" size="70" runat="server" name="txtPassword">
            <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="密码不能为空" ControlToValidate="txtPassword" Font-Size="X-Small"></asp:RequiredFieldValidator></td>
        </tr>
        <tr>
          <td align="right" width="20%">重复密码:</td>
          <td width="80%"><input class="InputCss" id="txtRePassword" style="width: 382px" type="password" size="70" runat="server" name="txtRePassword">
            <asp:CompareValidator ID="CompareValidator1" runat="server" ErrorMessage="密码确认错误" ControlToValidate="txtRePassword" ControlToCompare="txtPassword" Font-Size="X-Small"></asp:CompareValidator></td>
        </tr>
        <tr>
          <td align="right" width="20%">Email:</td>
          <td width="80%">
            <asp:TextBox ID="txtEmail" CssClass="InputCss" runat="server" Columns="70" Width="382"></asp:TextBox><asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="请填写电子邮件地址" ControlToValidate="txtEmail" Display="Dynamic" Font-Size="X-Small"></asp:RequiredFieldValidator><asp:RegularExpressionValidator ID="checkmail" runat="server" ErrorMessage="错误的EMAIL格式" ControlToValidate="txtEmail" ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" Display="Dynamic"></asp:RegularExpressionValidator></td>
        </tr>
        <tr>
          <td align="right" width="20%">公司电话:</td>
          <td width="80%">
            <asp:TextBox ID="txtPhone" CssClass="InputCss" runat="server" Columns="70" Width="382"></asp:TextBox><asp:RegularExpressionValidator ID="checkphone" runat="server" ErrorMessage="电话号码错误" ControlToValidate="txtPhone" ValidationExpression="\d*" Font-Size="X-Small"></asp:RegularExpressionValidator></td>
        </tr>
        <tr>
          <td align="right" width="20%">手机</td>
          <td width="80%">
            <asp:TextBox ID="txtMobile" CssClass="InputCss" runat="server" Columns="70" Width="382"></asp:TextBox><asp:RegularExpressionValidator ID="checkmobile" runat="server" ErrorMessage="手机号错误" ControlToValidate="txtMobile" ValidationExpression="\d*" Font-Size="X-Small"></asp:RegularExpressionValidator></td>
        </tr>
        <tr id="mydepartment" runat="server">
          <td align="right" width="20%">所属部门:</td>
          <td width="80%">
            <asp:DropDownList ID="cboDepartment" runat="server" Width="383px" />
          </td>
        </tr>
        <tr>
          <td align="right" width="20%"></td>
          <td align="left" width="80%">&nbsp;</td>
          <td align="middle" width="80%"></td>
        </tr>
      </table>
    </div>
    <hr width="100%" size="1">
    <div align="center">
      <input class="ButtonCss" id="cmdSubmit" type="button" value="确 定" runat="server" name="cmdSubmit">&nbsp;&nbsp;&nbsp; <input class="ButtonCss" onclick="history.back();" type="button" value="返 回" name="cmdReturn">
    </div>
  </form>
</body>
</html>
